UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Successful and unsuccessful logins and logouts must be logged.


Overview

Finding ID Version Rule ID IA Controls Severity
V-765 GEN000440 SV-27082r1_rule ECAR-1 ECAR-2 ECAR-3 Medium
Description
Monitoring and recording successful and unsuccessful logins assists in tracking unauthorized access to the system. Without this logging, the ability to track unauthorized activity to specific user accounts may be diminished.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2015-03-18

Details

Check Text ( C-27995r1_chk )
List the logged successful logons to determine if successful logons are being logged.

# last -R | more

List the logged unsuccessful logons to determine if unsuccessful logons are being logged.

# lastb -R | more

If logs do not contain successful and unsuccessful logins, this is a finding.
Fix Text (F-31505r1_fix)
Verify that login logs are handled correctly in the /etc/syslog.conf file. Verify that service startup scripts for syslog and (w/b)tmp (if present) are enabled. NOTE: Also examine the syslog.conf file for any references to remote log hosts if last/lastb produce no results.

# cat /etc/syslog.conf | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v '^#' | grep "\@"